.class Lcom/melesta/payment/inapp3/InAppSystem$1$2;
.super Ljava/lang/Object;
.source "InAppSystem.java"

# interfaces
.implements Lcom/melesta/engine/DatabaseHelper$IObjectFilter;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/melesta/payment/inapp3/InAppSystem$1;->onQueryInventoryFinished(Lcom/melesta/payment/inapp3/IabResult;Lcom/melesta/payment/inapp3/Inventory;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$1:Lcom/melesta/payment/inapp3/InAppSystem$1;

.field final synthetic val$systemName:Ljava/lang/String;


# direct methods
.method constructor <init>(Lcom/melesta/payment/inapp3/InAppSystem$1;Ljava/lang/String;)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 108
    iput-object p1, p0, Lcom/melesta/payment/inapp3/InAppSystem$1$2;->this$1:Lcom/melesta/payment/inapp3/InAppSystem$1;

    iput-object p2, p0, Lcom/melesta/payment/inapp3/InAppSystem$1$2;->val$systemName:Ljava/lang/String;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public filter(Ljava/lang/Object;)Z
    .locals 5
    .parameter "o"

    .prologue
    .line 111
    move-object v0, p1

    check-cast v0, Lcom/melesta/payment/PaymentTransaction;

    .line 112
    .local v0, t:Lcom/melesta/payment/PaymentTransaction;
    iget-object v1, p0, Lcom/melesta/payment/inapp3/InAppSystem$1$2;->val$systemName:Ljava/lang/String;

    iget-object v2, v0, Lcom/melesta/payment/PaymentTransaction;->paymentSystem:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_0

    iget-wide v1, v0, Lcom/melesta/payment/PaymentTransaction;->consumeTime:J

    const-wide/16 v3, -0x1

    cmp-long v1, v1, v3

    if-nez v1, :cond_0

    const/4 v1, 0x1

    :goto_0
    return v1

    :cond_0
    const/4 v1, 0x0

    goto :goto_0
.end method
